package cn.edu.scau.cmi.luoxintai.client;

import java.util.*;
import cn.edu.scau.cmi.luoxintai.FactoryMethod.MainFactory;

public class FactoryClient {
	
	public static void main(String[] args){
		System.out.printf("Factory:Choose your dinner and you only need to input the number : \n 1.Meat,2.Beef,3.Chicken\n");
		Scanner in =new Scanner(System.in);
		MainFactory f = new MainFactory();
		while(true) {
			int choose = in.nextInt();
			f.Creat(choose);
		}
	}
}
